<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        /* 
            量词
                [m] 正好m个
                [m,] 至少m个
                [m,n] m-n个
                + 一个以上 想当与[1,]
                * 任意数量的a 想当与[0,]
                ? 0-1 次 {0,1}
        */
       let reg = /a{1,}/
       reg = /^(ab){3}$/
       reg = /^[a-z]{3}$/
       let result = reg.test("sdd")
       console.log(result);

    </script>
</head>
<body>
    
</body>
</html>